package com.bbcare.comm.enumeration;

/** 
 * @desc: 提醒消息的方式
 * @author: liqianlong
 * @date: 20210407
 */ 
public enum PushTypeEnum {

    WX_GZH(1, "公众号");

    private int value;
    private String name;

    PushTypeEnum(int value, String name) {
        this.value = value;
        this.name = name;
    }

    public int getValue() {
        return value;
    }

    public String getName() {
        return name;
    }

    public static String getName(int value) {
        for (PushTypeEnum booleanStatus : PushTypeEnum.values()) {
            if (booleanStatus.getValue()==value) {
                return booleanStatus.getName();
            }
        }
        return "";
    }
}
